package com.zhong.gang.applib.ui.chese;

public class MaterialTypeBean {

    /**
     * id : 131
     * createTime : 2020-04-25 15:16:09
     * updateTime : 2020-04-25 15:16:09
     * version : 0
     * deleted : false
     * createTimestamp : 1587798969000
     * updateTimestamp : 1587798969000
     * name : 压块
     * ownerId : 0
     * type : false
     * materialTypePrice : {"id":134,"createTime":"2020-04-29 15:15:13","updateTime":"2020-04-29 15:15:13","version":0,"deleted":false,"createTimestamp":1588144513000,"updateTimestamp":1588144513000,"materialTypeId":131,"shippingPrice":0,"steelMillPrice":0,"materialYardPrice":35,"pricePhoto":"http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/srgdnaomhyg4d72z5fim.jpg","audited":true,"auditTime":"2020-04-29 15:15:13","materialTypeName":null,"materialTypeType":null,"materialYardName":null,"oldMaterialTypePrice":null}
     * ownerName : null
     */

    private int id;
    private int version;
    private boolean deleted;
    private String name;
    private int ownerId;
    private boolean type;
    private MaterialTypePriceBean materialTypePrice;
    private Object ownerName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }

    public boolean isType() {
        return type;
    }

    public void setType(boolean type) {
        this.type = type;
    }

    public MaterialTypePriceBean getMaterialTypePrice() {
        return materialTypePrice;
    }

    public void setMaterialTypePrice(MaterialTypePriceBean materialTypePrice) {
        this.materialTypePrice = materialTypePrice;
    }

    public Object getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(Object ownerName) {
        this.ownerName = ownerName;
    }

    public static class MaterialTypePriceBean {
        /**
         * id : 134
         * createTime : 2020-04-29 15:15:13
         * updateTime : 2020-04-29 15:15:13
         * version : 0
         * deleted : false
         * createTimestamp : 1588144513000
         * updateTimestamp : 1588144513000
         * materialTypeId : 131
         * shippingPrice : 0
         * steelMillPrice : 0
         * materialYardPrice : 35
         * pricePhoto : http://zgtrade.oss-cn-zhangjiakou.aliyuncs.com/files/srgdnaomhyg4d72z5fim.jpg
         * audited : true
         * auditTime : 2020-04-29 15:15:13
         * materialTypeName : null
         * materialTypeType : null
         * materialYardName : null
         * oldMaterialTypePrice : null
         */

        private int id;
        private int version;
        private boolean deleted;
        private double materialYardPrice;
        private double shippingPrice;
        private double steelMillPrice;
        private boolean audited;

        public double getSteelMillPrice() {
            return steelMillPrice;
        }

        public void setSteelMillPrice(double steelMillPrice) {
            this.steelMillPrice = steelMillPrice;
        }

        public double getShippingPrice() {
            return shippingPrice;
        }

        public void setShippingPrice(double shippingPrice) {
            this.shippingPrice = shippingPrice;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }


        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }


        public double getMaterialYardPrice() {
            return materialYardPrice;
        }

        public void setMaterialYardPrice(double materialYardPrice) {
            this.materialYardPrice = materialYardPrice;
        }

        public boolean isAudited() {
            return audited;
        }

        public void setAudited(boolean audited) {
            this.audited = audited;
        }
    }
}
